import 'dotenv/config';

export default {
  NodeEnv: process.env.NODE_ENV || 'development',
  Port: process.env.PORT || '3000',
  Host: process.env.HOST || 'localhost',
  // MySQL配置
  DB_HOST: process.env.DB_HOST || 'localhost',
  DB_PORT: process.env.DB_PORT,
  DB_USER: process.env.DB_PASSWORD || 'root',
  DB_PASSWORD: process.env.DB_PASSWORD || 'root',
  DB_NAME: process.env.DB_NAME || 'a_vuets_db',
  // 日志配置
  JetLoggerMode: process.env.JET_LOGGER_MODE || 'CONSOLE',
  JetLoggerFilepath: process.env.JET_LOGGER_FILEPATH || 'jet-logger.log',
  JetLoggerTimestamp: process.env.JET_LOGGER_TIMESTAMP === 'TRUE',
  JetLoggerFormat: process.env.JET_LOGGER_FORMAT || 'LINE',
} as const;